From: Florian Müllner Date: Sun, 29 Sep 2013 21:20:27 +0000 (+0200) Subject: overview: Add cover pane directly to overviewGroup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3302 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=46edc053d4758d2f1cb795aea74170e75fc7f9cf;p=gnome-shell.git overview: Add cover pane directly to overviewGroup The cover pane is used to block events during transitions, but as workspaces don't share the same container as other overview elements, they are currently excempt from the event blocking. Move the cover pane to the top-level overview container instead. https://bugzilla.gnome.org/show_bug.cgi?id=709034 --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 2210dfed8..f26169af0 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -148,7 +148,7 @@ const Overview = new Lang.Class({ // Dash elements, or mouseover handlers in the workspaces. this._coverPane = new Clutter.Actor({ opacity: 0, reactive: true }); - this._stack.add_actor(this._coverPane); + Main.layoutManager.overviewGroup.add_child(this._coverPane); this._coverPane.connect('event', Lang.bind(this, function (actor, event) { return true; })); this._stack.add_actor(this._overview);